<?php
session_start();
header('Content-Type:text/html;charset=utf-8');
require_once($_SERVER['DOCUMENT_ROOT'].'/public/func.php');
$config=require_once($_SERVER['DOCUMENT_ROOT'].'/public/config.php');
$islogin=$_COOKIE['islogin'];
if($islogin!=1){
  echo "<script>alert('请先注册');window.location.href='/home/landing/registered/registered.php'</script>";
}
?>
<!DOCTYPE HTML>
<html>
<head>
<meta charset="UTF-8">
<title>会员注册成功</title>
<!-- Custom Theme files -->
<link href="/home/public/css/style.css" rel="stylesheet" type="text/css" media="all"/>
<!-- Custom Theme files -->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
<meta name="keywords" content="Login form web template, Sign up Web Templates, Flat Web Templates, Login signup Responsive web template, Smartphone Compatible web template, free webdesigns for Nokia, Samsung, LG, SonyErricsson, Motorola web design" />
<!--Google Fonts-->
<!--Google Fonts-->
</head>
<body>
<div class="login">
    <div class="login-top">
        <h1>注册成功</h1>
        <form action="/home/landing/registered/login.php" method="post" id="myform" name="myform" enctype="multipart/form-data">
            <tr>
            <th>您的注册账号为</th>
                <td><?php
                 echo $_SESSION['vip']['account'];
                ?></td>
            </tr>
            <br>
            <br>
            <tr>
            <th>您的注册昵称为</th>
                <td><?php
                 echo $_SESSION['vip']['pname'];
                ?></td>
            </tr>
            <br>
            <br>
            <tr>
            <th>您的注册邮箱为</th>
                <td><?php
                 echo $_SESSION['vip']['email'];
                ?></td>
            </tr>
            <br>
            <br>
              
        <div class="forgot">
             <a href="/home/index.php">网站首页</a>
             <a href="/home/index.php">网站首页</a>
        </div>
        </form>
    </div>
    <div class="login-bottom">
        <h3>返回&nbsp;<a href="/home/landing/index.php?"><?php
        echo '登陆';
        ?></a>&nbsp; 点这里</h3>
    </div>
</div>  
<div class="copyright">
    <p>Copyright &copy; 2015.Company name All rights reserved.<a target="_blank" href="http://www.cssmoban.com/">&#x7F51;&#x9875;&#x6A21;&#x677F;</a> - More Templates <a href="http://www.cssmoban.com/" target="_blank" title="模板之家">模板之家</a></p>
</div>


</body>
</html>